﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using ExtAspNet;
using Ylh.BLL;

public partial class Module_CustManger_CustOption : PageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Button1.OnClientClick = ActiveWindow.GetHideReference();
        if (!IsPostBack)
        {
            LoadOption(Request.QueryString["CustID"].ToString());
        }
    }

    /// <summary>
    /// 加载经理意见
    /// </summary>
    /// <param name="p"></param>
    private void LoadOption(string CustID)
    {
        Ylh.BLL.CustBLL bll = new CustBLL(DbConnectionStr);

        Option.Text = bll.GetOpinion(CustID);
        Option.EncodeText = false;
    }
}